#include <stdio.h>

int main() {
    int n = 0;

    while (scanf("%d", &n) != EOF) {
        printf("%d\n", 1 << n);
    }
    return 0;
}